package top.sehnsucht.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Map;

public interface ExcelDao {
    void createExcel(String name,ArrayList<String> list) throws SQLException;

    void addExcel(String name, ArrayList<String> list, ArrayList<String> data) throws Exception;

    ArrayList<Map<String, String>> showTable() throws Exception;

    ArrayList<ArrayList<String>> dataToExcel(String name) throws Exception;
}
